import { loadScript } from '@/utils/module/loadScript'

/**JsonEditor 异步加载 */
export default async () => {
  await loadScript('https://unpkg.com/jsoneditor@9.7.2/dist/jsoneditor.min.js')
  await loadScript('https://unpkg.com/jsoneditor@9.7.2/dist/jsoneditor.min.css', 'link')
  return import('./index.vue')
}
